package cn.kgc.educenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName UcenterAppliction
 * @Description: TODO
 * @Author :郭建宾
 * @Date 2020/7/14
 * @Version V1.0
 **/
@SpringBootApplication
@EnableDiscoveryClient //Nacos 注册
@ComponentScan(basePackages = ("cn.kgc"))
@MapperScan("cn.kgc.educenter.mapper")
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class, args);
    }
}
